﻿namespace Arms.Persistence.Modules.People.Mappings
{
    using Arms.Domain.Modules.People;
    using System.Data.Entity.ModelConfiguration;

    internal class PersonBaseMap<T> : EntityTypeConfiguration<T> where T : PersonBase
    {
        public PersonBaseMap()
            : base()
        {
            HasOptional(x => x.Person).WithOptionalPrincipal();
        }
    }
}
